stderr
Type
keyword
Summary
Used with the write to file command to designate the standard error location.
Syntax
stderr
Description
Use the stderr keyword to write error messages to the standard error location, usually the screen or console window.
On Unix systems, error messages from a program are normally displayed on the console, but can be redirected to go to another device, process, or file. This redirection is done on the command line when the program is started up.
On a server, stderr is used as the target for default error messages if 'the errorMode ' is stderr and the default error handler is triggered.
When you use the write to file command with the stderr keyword, LiveCode writes data to the standard error location.
Support for using stderr on Server was added in LiveCode 4.6.3.
Examples
write field 3 to stderr
Related
command: write to file
glossary: keyword, command, OS X, standard error
property: errorMode
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
linux
Platforms
desktop
server